package com.community.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (Right)表实体类
 *
 * @author makejava
 * @since 2021-11-01 07:53:01
 */
@SuppressWarnings("serial")
public class Right extends Model<Right> {
    
    private String rightCode;
    
    private String rightParentCode;
    
    private String rightType;
    
    private String rightText;
    
    private String rightUrl;
    
    private String rightTip;


    public String getRightCode() {
        return rightCode;
    }

    public void setRightCode(String rightCode) {
        this.rightCode = rightCode;
    }

    public String getRightParentCode() {
        return rightParentCode;
    }

    public void setRightParentCode(String rightParentCode) {
        this.rightParentCode = rightParentCode;
    }

    public String getRightType() {
        return rightType;
    }

    public void setRightType(String rightType) {
        this.rightType = rightType;
    }

    public String getRightText() {
        return rightText;
    }

    public void setRightText(String rightText) {
        this.rightText = rightText;
    }

    public String getRightUrl() {
        return rightUrl;
    }

    public void setRightUrl(String rightUrl) {
        this.rightUrl = rightUrl;
    }

    public String getRightTip() {
        return rightTip;
    }

    public void setRightTip(String rightTip) {
        this.rightTip = rightTip;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.rightCode;
    }

    @Override
    public String toString() {
        return "Right{" +
                "rightCode='" + rightCode + '\'' +
                ", rightParentCode='" + rightParentCode + '\'' +
                ", rightType='" + rightType + '\'' +
                ", rightText='" + rightText + '\'' +
                ", rightUrl='" + rightUrl + '\'' +
                ", rightTip='" + rightTip + '\'' +
                '}';
    }
}

